home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_12_03 / allison / thello.c < prev    next >
C/C++ Source or Header  |  1994-01-05  |  321b  |  15 lines

  1.  
  2. LISTING 11 - "Hello, World!" using Trigraphs
  3. /* thello.c:    Greeting program using trigraphs */
  4. #include <stdio.h>
  5.  
  6. main(int argc, char *argv??(??))
  7. ??<
  8.     if (argc > 1 && argv??(0??) != NULL)
  9.         printf("Hello, %s!??/n",argv??(1??));
  10.     else
  11.         printf("Hello, world!??/n");
  12.     return 0;
  13. ??>
  14.  
  15.